createStatesManager

inline fun <TargetContextType, TargetStateType> createStatesManager(targetKeyValueRepo: KeyValueRepo<TargetContextType, TargetStateType>, noinline contextToOutTransformer: suspend Any.() -> TargetContextType, noinline stateToOutTransformer: suspend State.() -> TargetStateType, noinline outToContextTransformer: suspend TargetContextType.() -> Any, noinline outToStateTransformer: suspend TargetStateType.() -> State): KeyValueBasedStatesManager